package com.dongdongshop.service;

import com.dongdongshop.data.PageResult;
import com.dongdongshop.data.PageUtil;
import com.dongdongshop.domain.vo.SpecificationOptionVO;
import com.dongdongshop.domain.vo.SpecificationVO;

import java.util.List;

public interface SpecificationService {
    PageUtil<SpecificationVO> specList(PageResult<SpecificationVO> parms);

    void addSpec(SpecificationVO vo);

    SpecificationVO selectById(Long id);

    void updateSpec(SpecificationVO vo);

    void deleteById(Long id);

    void delete(List<Long> ids);

    void delThis(Long id);

    List<SpecificationVO> getAllSpec();

    List<SpecificationOptionVO> specLOptionist();
}
